package structure.composite.components;

import structure.composite.abstracts.OrganizationComponent;

public class Department extends OrganizationComponent {
    public Department(String description) {
        super(description);
    }

    @Override
    public String getDescription() {
        return super.getDescription();
    }

    @Override
    public void print() {
        System.out.println("    " + getDescription());
    }
}
